/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2024-03-07     Hao       the first version
 */
#ifndef HARDWARE_ADC_OPERATE_H_
#define HARDWARE_ADC_VOLTAGE_H_

#include <rtthread.h>
#include <rtdevice.h>

#ifdef __cplusplus
extern "C"{
#endif

float adc_getChVoltage(uint8_t ch);

#ifdef __cplusplus
}
#endif

#endif /* HARDWARE_ADC_OPERATE_H_ */
